package com.tmpt.dto;

import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoCollection;
import com.inspiresoftware.lib.dto.geda.annotations.DtoField;
import com.tmpt.beans.A1TemplateConditionMultiQuery;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


@Dto("com.tmpt.beans.A1TemplateCondition")
public class A1TemplateConditionDto  implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@DtoField
	private long id;
	@DtoField
	private String columnName;
	@DtoField
	private String columnShowName;
	@DtoField
	private int isMultiQuery;

	@Deprecated
	@DtoCollection(
			value="a1TemplateConditionMultiQueryList",
			dtoToEntityMatcher=A1TemplateCondition_MultiQueryMatcher.class,
			entityGenericType=A1TemplateConditionMultiQuery.class,
			dtoBeanKey="a1TemplateConditionMultiQueryDto",
			entityBeanKeys="a1TemplateConditionMultiQuery",
			readOnly=true
	)
	private List<A1TemplateConditionMultiQueryDto> a1TemplateConditionMultiQueryDtoList = new ArrayList<A1TemplateConditionMultiQueryDto>();

	
	private List<A1TemplateColumnOptionDto>  a1TemplateColumnOptionDtoList = new ArrayList<A1TemplateColumnOptionDto>();
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getColumnShowName() {
		return columnShowName;
	}
	public void setColumnShowName(String columnShowName) {
		this.columnShowName = columnShowName;
	}
	public int getIsMultiQuery() {
		return isMultiQuery;
	}
	public void setIsMultiQuery(int isMultiQuery) {
		this.isMultiQuery = isMultiQuery;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public List<A1TemplateConditionMultiQueryDto> getA1TemplateConditionMultiQueryDtoList() {
		return a1TemplateConditionMultiQueryDtoList;
	}
	public void setA1TemplateConditionMultiQueryDtoList(
			List<A1TemplateConditionMultiQueryDto> a1TemplateConditionMultiQueryDtoList) {
		this.a1TemplateConditionMultiQueryDtoList = a1TemplateConditionMultiQueryDtoList;
	}
	public List<A1TemplateColumnOptionDto> getA1TemplateColumnOptionDtoList() {
		return a1TemplateColumnOptionDtoList;
	}
	public void setA1TemplateColumnOptionDtoList(
			List<A1TemplateColumnOptionDto> a1TemplateColumnOptionDtoList) {
		this.a1TemplateColumnOptionDtoList = a1TemplateColumnOptionDtoList;
	}
	
}
